<?php 
$data = json_decode( file_get_contents("./data.txt") ,true);
// print_r($data);

?>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		姓名是:<?php echo $data['username']; ?>
		图片是: <img src="<?php echo $data['imgUrl']; ?>" />
	</body>
</html>
